package com.spic.business.registrationform.mapper;

import java.util.List;
import com.spic.business.registrationform.domain.ArchiveStaffPromotionRecord;

/**
 * 职称/技能等级晋升情况记录Mapper接口
 * 
 * @author spic
 * @date 2022-07-20
 */
public interface ArchiveStaffPromotionRecordMapper 
{
    /**
     * 查询职称/技能等级晋升情况记录
     * 
     * @param promotionId 职称/技能等级晋升情况记录主键
     * @return 职称/技能等级晋升情况记录
     */
    public ArchiveStaffPromotionRecord selectArchiveStaffPromotionRecordByPromotionId(Long promotionId);

    /**
     * 查询职称/技能等级晋升情况记录列表
     * 
     * @param archiveStaffPromotionRecord 职称/技能等级晋升情况记录
     * @return 职称/技能等级晋升情况记录集合
     */
    public List<ArchiveStaffPromotionRecord> selectArchiveStaffPromotionRecordList(ArchiveStaffPromotionRecord archiveStaffPromotionRecord);

    /**
     * 新增职称/技能等级晋升情况记录
     * 
     * @param archiveStaffPromotionRecord 职称/技能等级晋升情况记录
     * @return 结果
     */
    public int insertArchiveStaffPromotionRecord(ArchiveStaffPromotionRecord archiveStaffPromotionRecord);

    /**
     * 修改职称/技能等级晋升情况记录
     * 
     * @param archiveStaffPromotionRecord 职称/技能等级晋升情况记录
     * @return 结果
     */
    public int updateArchiveStaffPromotionRecord(ArchiveStaffPromotionRecord archiveStaffPromotionRecord);

    /**
     * 删除职称/技能等级晋升情况记录
     * 
     * @param promotionId 职称/技能等级晋升情况记录主键
     * @return 结果
     */
    public int deleteArchiveStaffPromotionRecordByPromotionId(Long promotionId);

    /**
     * 批量删除职称/技能等级晋升情况记录
     * 
     * @param promotionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArchiveStaffPromotionRecordByPromotionIds(Long[] promotionIds);

    int deleteArchiveStaffPromotionRecordByStaffArchiveIds(String[] staffArchiveIds);
}
